package app.sys.data.enums;

/**
 * 日志类型字典
 */
public enum OperateTypeEnum {

    INSERT("INSERT", "新增操作"),
    UPDATE("UPDATE", "修改操作"),
    DELETE("DELETE", "删除操作");

    private String key;

    private String name;

    OperateTypeEnum(String key, String name) {
        this.key = key;
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
